package xyz.molzhao.performance;

import xyz.molzhao.util.CommonUtil;

public class Dish {
    private String name;

    private Integer time;

    public Dish(String name, Integer time) {
        this.name = name;
        this.time = time;
    }

    public void make() {
        CommonUtil.createBehavior(this.name + "制作完毕，来吃我把", this.time * 1000);
    }
}
